export const DICT = ['device.run.status', 'device.fire'];

export const KEYS = [
  { key: 'thermalImageName', name: '热成像名称' },
  { key: 'thermalImageAddress', name: '热成像地址' },
  { key: 'cameraName', name: '实时摄像名称' },
  { key: 'cameraAddress', name: '实时摄像地址' },
  { key: 'name', name: '名称' },
  { key: 'networkAddr', name: '设备通信地址' },
  { key: 'installationTime', name: '安装位置' },
  { key: 'brandName', name: '厂家' },
  { key: 'productName', name: '型号' },
];

export const EDIT_KEYS = [
  'id',
  'thermalImageName',
  'thermalImageAddress',
  'cameraName',
  'cameraAddress',
  'name',
  'networkAddr',
  'brandId',
  'productId',
  // 'installLocationName',
  'buildName', 'floorName', 'areaName',
  'buildId', 'floorId', 'areaId',
  'brandName',
  'productName',
  'fire',
  'fireName',
  'serialNumber',
  'systemNo',
  'installationAddr'
]

export const LOCATION = [
  { type: 'build', name: 'name', tail: 'build' },
  { type: 'floor', name: 'floorName', tail: 'floor_plan' },
  { type: 'area', name: 'name', tail: 'area' },
]

export const BRAND = [
  { type: 'brand', name: 'name', tail: 'brand', params: { type: '1' } },
  { type: 'product', name: 'name', tail: 'product' },
];